package com.gmq.chapter01.priority;

/**
 * Created by gmq on 2017/08/11.
 *
 * @version 1.0
 * @since 2017/08/11 10:59
 */
public class Run1 {

    public static void main(String[] args) {

        System.out.println("main thread begin priority=" + Thread.currentThread().getPriority());
        Thread.currentThread().setPriority(6);
        System.out.println("main thread end priority=" + Thread.currentThread().getPriority());
        MyThread1 thread1 = new MyThread1();
        thread1.start();
    }
}
